<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Lienhe extends CI_Controller {
	public $data;
	public function __construct()
	{
		parent::__construct();
		$this->load->model('m_nganh');//load model m_nganh
		$this->data = array (
			'nganh'       => $this->m_nganh->get_nganh()
		);
	}
	
	public function index()
	{ 
		$this->data['title']="Liên hệ";
		$this->load->view('lienhe',$this->data);//dua bien data vao view hien thi
	}
}
?>
